package com.example.myapplication.bean;

import java.io.Serializable;
import java.util.Date;

/**
 * 一个普通bean，用于传递时间和，钱
 *
 * @author ：xiongwei
 * @date ：Created in 2020/10/8 15:43
 * @modified By：dormitory_223
 */
public class MoneyData implements Serializable {

    private String money;

    private String dayTime;

    private String startTime;

    private String endTime;

    /**
     * 对应界面值
     */
    private String activityValue;

    private Date date;

    public MoneyData() {
    }

    public MoneyData(String money, String startTime, String endTime, Date date) {
        this.money = money;
        this.startTime = startTime;
        this.endTime = endTime;
        this.date = date;
    }

    public MoneyData(String money, Date date) {
        this.money = money;
        this.date = date;
    }

    public String getMoney() {
        return money;
    }

    public void setMoney(String money) {
        this.money = money;
    }

    public Date getDate() {
        return date;
    }

    public String getDayTime() {
        return dayTime;
    }

    public void setDayTime(String dayTime) {
        this.dayTime = dayTime;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getActivityValue() {
        return activityValue;
    }

    public void setActivityValue(String activityValue) {
        this.activityValue = activityValue;
    }

    @Override
    public String toString() {
        return "MoneyData{" +
                "money='" + money + '\'' +
                ", dayTime='" + dayTime + '\'' +
                ", startTime='" + startTime + '\'' +
                ", endTime='" + endTime + '\'' +
                ", activityValue='" + activityValue + '\'' +
                ", date=" + date +
                '}';
    }
}
